package com.hxzy.tms.interceptor;

import com.opensymphony.xwork2.ActionContext;
import com.opensymphony.xwork2.ActionInvocation;
import com.opensymphony.xwork2.interceptor.AbstractInterceptor;

public class ClearTeamIntercepter extends AbstractInterceptor {
	private static final long serialVersionUID = -8658029299552414320L;

	@Override
	public String intercept(ActionInvocation invocation) throws Exception {
		String result = invocation.invoke();
		ActionContext.getContext().getSession().put("createteam", null);
		return result;
	}

}
